package jsonobj;



import com.google.gson.Gson;


public class JobStatusInfo implements JSonObj {
	public String jobname;
	public String owner;
	public String subdate;
	public String subtime;
	public String execdate;
	public String exectime;
	public long walltime;
	public int queuetime;
	public int nodes;
	public int procs;
	public int numjobs;
	
	
	public JobStatusInfo(){}

	public String toString()
	{
		return JOB_ST_INFO+"|"+ new Gson().toJson(this);
	}
	public static JobStatusInfo fromJSon(String json)
	{
		return new Gson().fromJson(json,JobStatusInfo .class);
	}
	
}
